package com.example.dto;


import com.example.entity.Expenses;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

@Data
public class ExpensesDto extends Expenses {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;

    private String userName;
}
